<?php
declare (strict_types = 1);

namespace app\service;

use app\db\UserDb;

class UserService
{
    protected $userDb;
    public function __construct(UserDb $userDb)
    {
        $this->userDb = $userDb;
    }

    
    /**
     * 执行服务
     *
     * @return mixed
     */
    public function findone()
    {
        //todo 换成db
        return $this->userDb->findone();
    }
}
